package com.joey.cloud.psn.business.controller;


import com.baomidou.mybatisplus.extension.service.IService;
import com.joey.cloud.communal.utils.BaseController;
import com.joey.cloud.psn.business.entity.SysTenant;
import com.joey.cloud.psn.business.service.ISysTenantService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 租户信息表 前端控制器
 * </p>
 *
 * @author Joey
 * @since 2021-03-19
 */
@Api(tags = "租户")
@RestController
@RequestMapping("/business/tenant")
public class SysTenantController extends BaseController<SysTenant> {
    @Autowired
    ISysTenantService sysTenantService;

    @Override
    public IService<SysTenant> getService() {
        return sysTenantService;
    }
}

